#include <stdio.h>

int main(){
	unsigned int a,b,i,m=0,out=0;
	
	scanf("%u", &a);
	while (a){
		b = a % 10;
		if (b % 2 != 0)
		{
			m++;
			for (i=1;i<m;i++){
				b*=10;
			}
			out += b;
		}
		a /= 10;
	}
	printf("%u", out);
	return 0;
}
